<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="theme/Header.jsp" %>
<script type="text/javascript" >
    $().ready(function() {
        $('#save').click(function(){
            $('#form_usr001').submit();
        });
        $('#back').click(function(){
            history.go(-1);
            return false
        });
    });

</script>
<div id="site-root">
    <div>
        <a href="#">[ERR001- ข้อมูลผิดพลาด]</a>
    </div>
</div>
<div id="button-bar">
    <fieldset>
        <div class="buttons">
            <button class="positive" id="back">
                <img  src="theme/images/icons/arrow_back.gif" alt="" width="16" height="16"/>ย้อนกลับ
            </button>
        </div>
    </fieldset>
</div>
<br />
<c:choose>
    <c:when test="${empty Errors}">
    </c:when>
    <c:otherwise>
        <table border="0"  cellpadding="4" cellspacing="1">
            <thead>
                <tr style="background: #3B5998;color: #FFF">
                    <th width="10px">Error No</th>
                    <th width="15%">Error Code</th>
                    <th>Error Message</th>
                </tr>
            </thead>
            <tbody>
                <c:forEach items="${Errors}" var="result" varStatus="i">
                    <tr bgcolor="${i.count%2==0?"#FFFFFF":"#EEEFF4"}">
                        <td align="center">${i.count}</td>
                        <td align="center">${result.code}</td>
                        <td>${result.message}</td>
                    </tr>
                </c:forEach>
            </tbody>
        </table>
    </c:otherwise>
</c:choose>
<%@include file="theme/Footer.jsp" %>